home *** CD-ROM | disk | FTP | other *** search
/ Aminet 1 (Walnut Creek) / Aminet - June 1993 [Walnut Creek].iso / aminet / util / gnu / gnu_oleo_1_2_2.lha / oleo-1.2.2 / Makefile.in < prev    next >
Makefile  |  1993-03-03  |  8KB  |  201 lines

  1. # Copyright (C) 1992, 1993 Free Software Foundation, Inc.
  2. # This file is part of GNU Oleo.
  3. # GNU Oleo is free software; you can redistribute it and/or modify
  4. # it under the terms of the GNU General Public License as published by
  5. # the Free Software Foundation; either version 2, or (at your option)
  6. # any later version.
  7. #
  8. # GNU Oleo is distributed in the hope that it will be useful,
  9. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  11. # GNU General Public License for more details.
  12. # You should have received a copy of the GNU General Public License
  13. # along with GNU Oleo; see the file COPYING.  If not, write to
  14. # the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
  15. SHELL = /bin/sh
  16.  
  17. srcdir = @srcdir@
  18. VPATH = @srcdir@
  19.  
  20. # Common prefix for machine-independent installed files.
  21. prefix = /usr/local
  22. # Common prefix for machine-dependent installed files.
  23. exec_prefix = $(prefix)
  24. # Name under which to install GNU Oleo.
  25. instname = oleo
  26. # Directory to install `oleo' in.
  27. bindir = $(exec_prefix)/bin
  28.  
  29. CFLAGS = -g
  30. BISONFLAGS =
  31. optional_libs = @LIBS@
  32. extra_obs =@LIBOBJS@ @ALLOCA@
  33.  
  34. CC = @CC@
  35. BISON = @YACC@
  36. INSTALL = @INSTALL@
  37. INSTALL_DATA = @INSTALL_DATA@
  38. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  39. ETAGS = etags -tw
  40. CTAGS = ctags -tw
  41.  
  42. ALL_CFLAGS = $(CFLAGS) @DEFS@
  43. ALL_BISONFLAGS = $(BISONFLAGS) 
  44.  
  45. .c.o:
  46.     $(CC) -c $(ALL_CFLAGS) $(CPPFLAGS) -I$(srcdir) $<
  47.  
  48. libs =  $(optional_libs) -lm 
  49.  
  50. objs = parse.tab.o byte-compile.o eval.o ref.o \
  51.  decompile.o sort.o regions.o utils.o obstack.o lists.o\
  52.  io-term.o getopt.o getopt1.o io-utils.o io-x11.o window.o io-edit.o\
  53.  hash.o panic.o line.o io-curses.o font.o display.o print.o init.o \
  54.  sylk.o oleofile.o sc.o list.o busi.o string.o cells.o ir.o xrdb.o
  55.  
  56. all_objs= $(objs) $(extra_obs)
  57.  
  58. srcs =  parse.y byte-compile.c eval.c ref.c \
  59.  decompile.c sort.c regions.c utils.c obstack.c lists.c\
  60.  io-term.c getopt.h getopt.c getopt1.c  io-utils.c io-x11.c window.c io-edit.c\
  61.  hash.c panic.c line.c  \
  62.  io-curses.c font.c display.c print.c init.c \
  63.  sylk.c oleofile.c sc.c list.c busi.c string.c cells.c \
  64.  random.c vfprintf.c vsprintf.c _doprnt.c alloca.c
  65.  
  66. headers = byte-compile.h cell.h cmd.h ir.h display.h errors.h eval.h \
  67.  font.h funcdef.h global.h hash.h init.h io-abstract.h io-edit.h \
  68.  io-generic.h io-term.h io-utils.h line.h list.h \
  69.  lists.h  node.h obstack.h oleofile.h parse.h  \
  70.  proto.h ref.h regions.h sc.h sylk.h sysdef.h \
  71.  utils.h window.h ir.c xrdb.c io-curses.h io-x11.h \
  72.  print.h
  73.  
  74.  
  75. dist_files = $(srcs) $(headers) parse.tab.c configure Makefile.in \
  76.     configure.in ANNOUNCE COPYING USING BUGS ChangeLog NEWS INSTALL.OLEO \
  77.     README INSTALL
  78.  
  79. all: oleo
  80. install: all
  81.     $(INSTALL_PROGRAM) oleo $(bindir)/oleo
  82. uninstall:
  83.     rm $(bindir)/oleo
  84. Makefile: $(srcdir)/Makefile.in 
  85.     $(SHELL) config.status
  86. clean:
  87.     rm -f $(all_objs) oleo
  88. distclean: clean
  89.     rm -f Makefile config.status 
  90. mostlyclean: clean
  91. realclean: distclean
  92.     rm -f  parse.tab.c
  93. TAGS: $(srcs)
  94.     $(ETAGS) $(srcs)
  95. tags: $(srcs)
  96.     $(CTAGS) $(srcs)
  97. dist.afs: $(dist_files)
  98.     echo oleo-`sed -e '/version_string/!d' -e 's/[^0-9.]*\([0-9.]*\).*/\1/' -e q io-term.c` > .fname
  99.     rm -rf `cat .fname`
  100.     mkdir `cat .fname`
  101.     cd `cat .fname`; \
  102.     for file in $(dist_files); do ln -s ../"$$file" .; done; \
  103.     cd ..
  104.     tar chZf `cat .fname`.tar.Z `cat .fname`
  105.     rm -rf `cat .fname` .fname
  106.  
  107. dist: $(dist_files)
  108.     echo oleo-`sed -e '/version_string/!d' -e 's/[^0-9.]*\([0-9.]*\).*/\1/' -e q io-term.c` > .fname
  109.     rm -rf `cat .fname`
  110.     mkdir `cat .fname`
  111.     ln $(dist_files) `cat .fname`
  112.     tar chZf `cat .fname`.tar.Z `cat .fname`
  113.     rm -rf `cat .fname` .fname
  114.  
  115. distfiles:
  116.     echo $(dist_files)
  117.  
  118. check:
  119.     echo check check check
  120. oleo: $(all_objs)
  121.     $(CC) $(ALL_CFLAGS) -o oleo $(all_objs) $(libs)
  122.  
  123. parse.tab.c: parse.y
  124.     $(BISON) parse.y
  125.     -mv y.tab.c parse.tab.c
  126.  
  127. # Prevent GNU make v3 from overflowing arg limit on SysV.
  128. .NOEXPORT:
  129.  
  130. # ================ automaticly generated ================
  131.  
  132. _doprnt.o : _doprnt.c 
  133. alloca.o : alloca.c 
  134. busi.o : busi.c funcdef.h sysdef.h global.h utils.h cell.h font.h line.h eval.h \
  135.   errors.h 
  136. byte-compile.o : byte-compile.c funcdef.h obstack.h sysdef.h global.h utils.h \
  137.   node.h eval.h cell.h font.h line.h hash.h ref.h 
  138. cells.o : cells.c obstack.h funcdef.h sysdef.h global.h utils.h cell.h font.h \
  139.   line.h eval.h errors.h lists.h 
  140. decompile.o : decompile.c funcdef.h sysdef.h global.h utils.h eval.h cell.h \
  141.   font.h line.h io-utils.h 
  142. display.o : display.c display.h global.h sysdef.h utils.h funcdef.h font.h line.h \
  143.   cell.h ir.h proto.h lists.h io-utils.h 
  144. eval.o : eval.c funcdef.h obstack.h sysdef.h global.h utils.h cell.h font.h \
  145.   line.h eval.h errors.h 
  146. font.o : font.c font.h global.h sysdef.h utils.h funcdef.h line.h window.h cell.h \
  147.   io-abstract.h 
  148. getopt.o : getopt.c getopt.h 
  149. getopt1.o : getopt1.c getopt.h 
  150. hash.o : hash.c hash.h 
  151. init.o : init.c proto.h init.h global.h sysdef.h utils.h funcdef.h io-term.h 
  152. io-curses.o : io-curses.c proto.h funcdef.h sysdef.h global.h utils.h cell.h \
  153.   font.h line.h cmd.h io-generic.h obstack.h io-edit.h io-term.h io-abstract.h \
  154.   window.h io-utils.h lists.h 
  155. io-edit.o : io-edit.c funcdef.h sysdef.h global.h utils.h cell.h font.h line.h \
  156.   io-edit.h cmd.h 
  157. io-term.o : io-term.c getopt.h funcdef.h obstack.h sysdef.h global.h utils.h \
  158.   cell.h font.h line.h cmd.h init.h regions.h ref.h lists.h io-abstract.h window.h \
  159.   io-generic.h io-utils.h io-edit.h io-term.h io-x11.h io-curses.h sylk.h print.h \
  160.    oleofile.h sc.h list.h 
  161. io-utils.o : io-utils.c sysdef.h io-utils.h global.h utils.h funcdef.h cell.h \
  162.   font.h line.h io-generic.h obstack.h io-abstract.h window.h lists.h 
  163. io-x11.o : io-x11.c 
  164. ir.o : ir.c ir.h proto.h 
  165. line.o : line.c global.h sysdef.h utils.h funcdef.h line.h 
  166. list.o : list.c funcdef.h sysdef.h global.h utils.h cell.h font.h line.h io-generic.h \
  167.   obstack.h io-abstract.h window.h regions.h io-utils.h 
  168. lists.o : lists.c funcdef.h obstack.h sysdef.h global.h utils.h cell.h font.h \
  169.   line.h ref.h window.h 
  170. obstack.o : obstack.c obstack.h 
  171. oleofile.o : oleofile.c funcdef.h sysdef.h io-generic.h global.h utils.h obstack.h \
  172.   io-abstract.h line.h window.h cell.h font.h io-utils.h io-term.h sylk.h lists.h \
  173.   ref.h 
  174. panic.o : panic.c funcdef.h sysdef.h global.h utils.h io-generic.h obstack.h \
  175.   io-abstract.h line.h window.h cell.h font.h 
  176. parse.tab.o : parse.tab.c funcdef.h obstack.h sysdef.h global.h utils.h errors.h \
  177.   node.h eval.h cell.h font.h line.h ref.h 
  178. print.o : print.c display.h global.h sysdef.h utils.h funcdef.h font.h line.h \
  179.   cell.h ir.h proto.h 
  180. random.o : random.c 
  181. ref.o : ref.c funcdef.h sysdef.h global.h utils.h cell.h font.h line.h eval.h \
  182.   io-abstract.h window.h hash.h byte-compile.h parse.h ref.h 
  183. regions.o : regions.c funcdef.h sysdef.h global.h utils.h cell.h font.h line.h \
  184.   io-generic.h obstack.h io-abstract.h window.h io-utils.h lists.h ref.h regions.h \
  185.   io-term.h 
  186. sc.o : sc.c funcdef.h sysdef.h global.h utils.h cell.h font.h line.h io-generic.h \
  187.   obstack.h io-abstract.h window.h io-utils.h lists.h ref.h parse.h regions.h 
  188. sort.o : sort.c 
  189. string.o : string.c funcdef.h obstack.h sysdef.h global.h utils.h cell.h font.h \
  190.   line.h eval.h errors.h 
  191. sylk.o : sylk.c funcdef.h sysdef.h io-generic.h global.h utils.h obstack.h io-abstract.h \
  192.   line.h window.h cell.h font.h io-term.h lists.h io-utils.h ref.h regions.h 
  193. utils.o : utils.c sysdef.h utils.h funcdef.h global.h 
  194. vfprintf.o : vfprintf.c sysdef.h 
  195. vsprintf.o : vsprintf.c sysdef.h 
  196. window.o : window.c global.h sysdef.h utils.h funcdef.h window.h cell.h font.h \
  197.   line.h io-generic.h obstack.h io-abstract.h io-utils.h io-term.h cmd.h lists.h 
  198. xrdb.o : xrdb.c 
  199.